<style type="text/css">
<!--
.row-actions {
	padding: 2px 0 0;
	visibility: hidden;
}

tr:hover .row-actions {
	visibility: visible;
}
-->
</style>
<div class="content-box">
	<!-- Start Content Box -->
	<div class="content-box-header">
		<h3>所有部门</h3>
	</div>
	<!-- End .content-box-header -->
	<!-- Start .content-box-content -->
	<div class="content-box-content">
		<table class="department_list">
			<thead>
				<tr>
					<th><input type="checkbox"></th>
					<th>部门名称</th>
					<th>部门管理者</th>
					<th>上级部门</th>
				</tr>
			</thead>
			<tfoot>
				<tr>
					<th><input type="checkbox"></th>
					<th>部门名称</th>
					<th>部门管理者</th>
					<th>上级部门</th>
				</tr>
			</tfoot>
			<tbody>
				<{foreach from=$departmentList item=departmentArr}>
				<tr>
					<td><input type="checkbox"></td>
					<td><{$departmentArr.name}>
						<div class="row-actions">
							<span><a href="#">编辑</a></span>
							<span>移至回收站</span>
							<span><a href="#">预览/查看</a></span>
						</div>
					</td>
					<td><a href="#"><{$departmentArr.administrator.realname}>	</a></td>
					<td><a href="#"><{$departmentArr.parent.name}></a></td>
				</tr>
				<{/foreach}>
			</tbody>
		</table>
		 <script src="assets/jquery/jquery-ui-1.8.23.custom.min.js" type="text/javascript" charset="utf-8"></script>
      <link rel="stylesheet" href="assets/jquery/ui-themes/smoothness/jquery-ui-1.8.23.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
		<input type="button" value="弹出部门树形菜单" onclick='$(".tree").dialog({modal:true})'/>
			<{include file="department.tree.center.html"}>
	</div>
	<!-- End .content-box-content -->
</div>
<!-- End .content-box -->